x86/stack: adjust boundary conditions for printed stacks
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 Nov 2013 12:37:25 +0000 (13:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 Nov 2013 12:37:25 +0000 (13:37 +0100)
commitcc2f01e602d9310f88625b4bdb4dc4ae179f2751
tree15a5f579b36960352aee79a8647d7cebbfec7caa
parent9f000b981e54027b1579225a54ee991d337f8d5b
x86/stack: adjust boundary conditions for printed stacks

Move the boundary into current.h along with the other stack manipulation code.
The boundary is now the word adjacent to a struct cpu_info on the stack.

This also fixes the somewhat spurious bounds for the case with frame pointers.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/traps.c
xen/include/asm-x86/current.h